setEpicenter

abstract fun setEpicenter(@NonNull transitionObj: Any, @Nullable view: View)(source)

Sets a transition epicenter to the rectangle of a given View.


abstract fun setEpicenter(@NonNull transitionObj: Any, @NonNull epicenter: Rect)(source)

Sets the epicenter of a transition to a rect object. The object can be modified until the transition runs.